package com.zhj.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhj.user.entity.dto.UserDTO;
import com.zhj.user.entity.pojo.User;

public interface UserMapper extends BaseMapper<User> {

    boolean usernameIsExist(String username);

    User login(UserDTO userDTO);
}